πŸ•ΈοΈ Ada Research Browser

PRD-009-e2e-tests.md
← Back

PRD-009: End-to-End Test Suite

Overview

Comprehensive backend e2e test suite that validates the full CMMC compliance workflow through the API, from user registration through POA&M generation.

Goals

Scope

Backend only β€” uses FastAPI TestClient against SQLite. No browser/Playwright tests.

Test Workflows

1. Full Assessment Lifecycle

Register β†’ Login β†’ Create Org β†’ Create Assessment β†’ Start β†’ Evaluate Practices β†’ Upload Evidence β†’ Submit β†’ Complete

2. Findings & POA&M Flow

Create Findings from completed assessment β†’ Auto-generate POA&M β†’ Manage POA&M items β†’ Activate β†’ Complete

3. Dashboard & Reporting

Verify dashboard endpoints return correct aggregated data after assessment completion. Verify report generation.

4. Cross-Cutting Concerns

Out of Scope